package com.huawei.org.domain;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.huawei.basic.domain.BaseDomain;
import lombok.Data;

import java.util.Date;

@Data
public class Shop extends BaseDomain {

    //店铺名称
    @Excel(name = "店铺名称",orderNum = "1",width = 30)
    private String name;
    //电话
    @Excel(name = "电话",orderNum = "1",width = 30)
    private String tel;
    //入驻时间
    @Excel(name = "入驻时间",orderNum = "1",width = 30,exportFormat="yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date registerTime = new Date();
    //店铺状态：1待审核  //2待激活  //3激活通过 //4驳回
    @Excel(name = "店铺状态",orderNum = "1",width = 30)
    private Integer state = 1;
    //店铺地址
    @Excel(name = "店铺地址",orderNum = "1",width = 30)
    private String address;
    //logo
    @Excel(name = "logo",orderNum = "1",width = 30)
    private String logo;
    //店铺管理员id
    private Long admin_id;
    //店铺管理员关联对象
    private Employee employee;

}
